package com.javasvup.servicecode.service;

import org.springframework.stereotype.Component;

@Component  // 别忘了这个注解，还应该被扫描到
public class EmailTFallback implements EmailTService {
    @Override
    public Integer sendMail(String email, String password) {
        System.out.println("邮件调用失败，回退");
        return 1;
    }
}
